package com.wangyb.wework.wxApi;

import com.alibaba.fastjson.annotation.JSONField;
import com.wangyb.wework.common.WxApiConst;
import lombok.Data;

import java.util.List;

/**
 * @Author: wangyb
 * @Date: 2021/7/8 9:34 上午
 */
@Data
public class GroupchatListResp extends BaseWxResp {
	@Override
	public String reqUrl() {
		return WxApiConst.API_GET_GROUPCHAT_LIST;
	}

	@JSONField(name = "group_chat_list")
	private List<GroupChatListRespEntry> groupChatList;

	@JSONField(name = "next_cursor")
	private String nextCursor;

	@Data
	public static class GroupChatListRespEntry{
		@JSONField(name = "chat_id")
		private String chatId;
		@JSONField(name = "status")
		private Integer status;
	}

}
